package com.jinlia.show.modules.wxapp.controller;

import com.jinlia.show.common.core.utils.UserInfoUtils;
import com.jinlia.show.modules.wxapp.service.NewsService;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;

@RestController
@RequiredArgsConstructor
@RequestMapping("/news")
public class NewsController {

    @Autowired
    NewsService newsService;
//    @GetMapping("/todo")
//    public HashMap sendConfirmOrderMsg() {
////        HashMap todoOrder = newsService.getTodoOrder(UserInfoUtils.getUserId());
//        return todoOrder;
//    }
}
